projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f729c33
)
Make function-alias-p use a better error symbol
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 14 Jan 2022 10:51:24 +0000
(11:51 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 14 Jan 2022 10:51:24 +0000
(11:51 +0100)
* lisp/subr.el (function-alias-p): Use the same error symbol as
`indirect-function'.
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index b0d2ab623b1a31f637694e8a015645171846fe8c..dd260dfe418ef26fcc0b28490c4fc869a0e2854e 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-6555,7
+6555,7
@@
signalled. If NOERROR, the non-loop parts of the chain is returned."
(eq func orig-func))
(if noerror
(throw 'loop chain)
- (
error "Alias loop for `%s'" orig-func
)))
+ (
signal 'cyclic-function-indirection (list orig-func)
)))
(push func chain))
chain))))